package com.example.elm_server_api.service.impl;

import com.example.elm_server_api.domain.UserAddress;
import com.example.elm_server_api.mapper.UserAddressMapper;
import com.example.elm_server_api.service.IUserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service("userAddressService")
@Transactional
public class UserAddressService implements IUserAddressService {

    @Autowired
    UserAddressMapper userAddressMapper;

    @Override
    public UserAddress selectByPrimaryKey(Long id) {
        return this.userAddressMapper.selectByPrimaryKey(id);
    }
}
